package com.example.wang.myapplication.activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;

import com.example.wang.myapplication.R;
import com.example.wang.myapplication.base.BaseSwipeBackActivity;
/**
 * Created by GongWen on 17/8/24.
 */

public class CommonActivity extends BaseSwipeBackActivity {

    @Override
    protected int getLayoutId() {
        return R.layout.activity_common;
    }

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        startActivity(CommonAttachToActivity.class);
    }

    public void startActivity(Class<?> clazz) {
        startActivity(new Intent(CommonActivity.this, clazz));
    }
}
